package com.xbongbong.pro.custombutton.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/03/05 11:07
 */
@Getter
@Setter
@ToString
public class CustomButtonPojo implements Serializable {
    private static final long serialVersionUID = -7191780667315292828L;

    private Long id;



    private Long formId;

    private Integer saasMark;

    private Integer businessType;

    private String name;

    private String icon;

    private String color;

    /**
     * 类型（1：列表；2：新建；3：编辑；4：详情; 5：审批）
     */
    private Integer type;

    private Integer sort;

    private List<CustomButtonActionPojo> actionList;

    public CustomButtonPojo() {
    }

    public CustomButtonPojo(Long id, String name, String icon, String color, Integer type, Integer sort, List<CustomButtonActionPojo> actionList) {
        this.id = id;
        this.name = name;
        this.icon = icon;
        this.color = color;
        this.type = type;
        this.actionList = actionList;
        this.sort = sort;
    }
}
